package br.ufrn.sigtcc.data.interfaces;

import br.ufrn.sigtcc.model.entidades.Admin;
import br.ufrn.sigtcc.util.exceptions.BDException;

public interface IDAOAdmin extends IGenericDAO<Admin, Long>{
	
	public void cadastrarAdmin(Admin admin) throws BDException, IllegalArgumentException;
	public void atualizarAdmin(Admin admin) throws BDException, IllegalArgumentException;
	public void removerAdmin(Admin admin) throws BDException, IllegalArgumentException;
	public boolean findByLogin(String login, String senha, Class<Admin> classe ) throws IllegalArgumentException, BDException;
	
}
